package com.stormrage.entity.learn.req;

import java.io.Serializable;

public class LeaSelectReq implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -3779992938861854645L;

	// ------------------------------- Fields -------------------------------

	private Integer stuId;

	private Integer majorId;

	private Integer count;

	private String[] list;

	// ------------------------------- Fields -------------------------------

	public LeaSelectReq() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getStuId() {
		return stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public Integer getMajorId() {
		return majorId;
	}

	public void setMajorId(Integer majorId) {
		this.majorId = majorId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String[] getList() {
		return list;
	}

	public void setList(String[] list) {
		this.list = list;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaSelectReq instance(LeaSelectReq entity, Integer majorId, String[] list) {
		entity.setMajorId(majorId);
		entity.setList(list);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : stuId - " + stuId + " majorId - " + majorId + " count - " + count + " list - "
				+ list;
	}

}
